package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Set;


/**
 * 质检对象 查询条件类
 *
 * @author qijian
 * @date 2024-02-27
 */

@Data
@ToString
@TableName("sd_quality_result")
public class SdQualityResultQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "circulation_no")
    private String circulationNo;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_code")
    private String itemCode;
    @WhereType(filed = "item_name")
    private String itemName;
    @WhereType(filed = "fm_process_id")
    private Long fmProcessId;
    @WhereType(filed = "sort")
    private Long sort;
    @WhereType(filed = "process_name")
    private String processName;
    @WhereType(filed = "batch_no")
    private String batchNo;
    @WhereType(filed = "qty")
    private Long qty;
    @WhereType(filed = "qualified_qty")
    private Long qualifiedQty;
    @WhereType(filed = "sub_no")
    private String subNo;
    @WhereType(filed = "examine_id")
    private Long examineId;
    @WhereType(filed = "is_qualified")
    private String isQualified;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "type")
    private String type;
    @WhereType(filed = "line_id")
    private Long lineId;
    @WhereType(filed = "status")
    private Boolean status;
    @WhereType(filed = "is_inventory_examine")
    private Boolean isInventoryExamine;
    @WhereType(filed = "examine_type")
    private String examineType;
    @WhereType(filed = "unit")
    private String unit;
    @WhereType(filed = "data_upload")
    private Boolean dataUpload;
    @WhereType(filed = "customer_approval")
    private Boolean customerApproval;
    @WhereType(filed = "examine_belong")
    private String examineBelong;
    @WhereType(filed = "user_name")
    private String userName;

    private String isSubmission;

}
